import 'package:dart_serve_study/dart_serve_study.dart';

class Article extends ManagedObject<_Article> implements _Article {}

class _Article {
  @primaryKey //作为主键
  int id;

  String context; //内容

  @Column(indexed: true) //添加索引
  DateTime createData;
}
